package com.ruoyi.system.service.vantservice.financialSupport;

import com.ruoyi.system.domain.zhuangxiumain.financialSupport.CooperativeBrand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 惠普 on 2021/1/9 17:16
 */
public interface ApiCooperativeBrandService {
    //查询全部的合作伙伴
    public List<CooperativeBrand> selectCooperativeBrandByNull();
    //添加合作伙伴
    public int addCooperativeBrand(CooperativeBrand cooperativeBrand);
    //修改合作伙伴
    public int updateCooperativeBrand(CooperativeBrand cooperativeBrand);
    //删除合作伙伴
    public int deleteCooperativeBrand(Integer[] cooperativeId);
    //根据Id改变状态
    public int updateState(@Param("id") Integer id, @Param("state") String state);
    /**
     * 前台查询合作伙伴
     * @return
     */
    public List<CooperativeBrand> getCooperativeByState();

}
